package com.lucifer.cloud.boot.blog.chat.tools;

import com.lucifer.cloud.boot.blog.chat.tools.domain.request.WeatherRequest;
import com.lucifer.cloud.boot.blog.chat.tools.domain.response.WeatherResponse;

import java.util.function.Function;

/**
 * @author lucifer
 * @date 2025/3/10 16:35
 */
public class WeatherService implements Function<WeatherRequest, WeatherResponse> {

    public WeatherResponse apply(WeatherRequest request) {
        return new WeatherResponse(30.0, "C");
    }
}


